package com.irdstudio.biz.rule.dao;

import java.util.List;

import com.irdstudio.biz.rule.dao.domain.SRuleInfo;
import com.irdstudio.biz.rule.service.vo.SRuleCollDetailVO;
import com.irdstudio.biz.rule.service.vo.SRuleInfoVO;
/**
 * <p>DAO interface:规则信息表				<p>
 * @author AutoCoder
 * @date 2019-10-30
 */
public interface SRuleInfoDao {
	
	public int insertSRuleInfo(SRuleInfo sRuleInfo);
	
	public int deleteByPk(SRuleInfo sRuleInfo);
	
	public int updateByPk(SRuleInfo sRuleInfo);
	
	public SRuleInfo queryByPk(SRuleInfo sRuleInfo);
	
	public List<SRuleInfo> queryAllOwnerByPage(SRuleInfoVO sRuleInfo);

	public List<SRuleInfo> queryAllExcludeRuleCollByPage(SRuleCollDetailVO sRuleCollDetailVO);

	public List<SRuleInfo> queryAllCurrOrgByPage(SRuleInfoVO sRuleInfo);
	
	public List<SRuleInfo> queryAllCurrDownOrgByPage(SRuleInfoVO sRuleInfo);

}
